package com.hs.auth.service;

import com.hs.auth.form.RegisterBody;
import com.hs.common.core.web.domain.AjaxResult;
import com.hs.system.api.model.LoginUser;

public interface LoginService {
    LoginUser login(String email, String password);
    String logout(String email);
    String register(RegisterBody registerBody);

    /**
     * 获取邮箱验证码
     * @return
     */
    AjaxResult getCodeEmail(String email);
}
